NB. ~

centigrade =: 3 : 0
t1 =. y - 32
t2 =. t1 * 5
t3 =. t2 % 9
)

fahrenheit =: +

convert =: dyad : 0
if. x = 'c'
do. centigrade y
else. fahrenheit y
end.
)

fourlettersuffix =: _4 _3 _2 _1 & {
twoletterprefix =: 0 1 & {

affix =: 3 : 0
a =. fourlettersuffix y
b =. twoletterprefix y
'fourlettersuffix: ', a, ' twoletterprefix: ', b, ' etc…'
)

readfile =: 1!:1
writefile =: 1!:2
appendfile =: 1!:3

fn =: < 'input.txt'

NB. usage of append from files script
NB. load 'files'
NB. LF fappend fn
NB. 'sentence' fappend fn

data =: readfile fn

NB. parsing data:  ;: data
 box =: ;: data
 first =: > (0 { box)
 second =: > (1 { box)
 third =: > (2 { box)

NB. match -: and also can use regex commands
